package com.zdpx.pxframework.seata;

import com.zdpx.pxframework.core.factory.YamlPropertySourceFactory;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Seata自动配置类
 *
 * @Description:
 * @Author: Cheng XiaoXiao
 * @Date: 2022/5/18 15:45
 */
@Configuration
@EnableAutoDataSourceProxy
@PropertySource(factory = YamlPropertySourceFactory.class, value = "classpath:seata-default.yml")
public class SeataAutoConfiguration {
}
